'use strict';

function average_to_letter(collection) {

  //在这里写入代码
  let result = collection.reduce(function(sum,i){
    return sum+i;
     },0);
     console.log(result);
  return String.fromCharCode(Math.ceil((result/(collection.length))+96));

}

module.exports = average_to_letter;

